package com.woniu.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "t_address")
public class Address implements Serializable {
    @Id
    private Integer addressid;

    private String name;

    private Integer pid;

    private static final long serialVersionUID = 1L;

    /**
     * @return addressid
     */
    public Integer getAddressid() {
        return addressid;
    }

    /**
     * @param addressid
     */
    public void setAddressid(Integer addressid) {
        this.addressid = addressid;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return pid
     */
    public Integer getPid() {
        return pid;
    }

    /**
     * @param pid
     */
    public void setPid(Integer pid) {
        this.pid = pid;
    }
}